package com.ruoyi.fetv.controller.vo.information;

import com.ruoyi.common.core.domain.ServiceRequireFiled;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.Getter;

import javax.validation.constraints.NotNull;

/**
 * @ClassName AddReq
 * @Description
 * @Author 15014
 * @Time 2023/3/7 12:55
 * @Version 1.0
 */
@ApiModel(value = "FetvInformationAddReq", description = "资讯对象fetv_informationAddReq")
@Data
@Getter
public class AddReq extends ServiceRequireFiled {
    /**
     * 主键id
     */
    @ApiModelProperty(value = "主键id", hidden = true)
    private Long id;
    /**
     * 标题
     */
    @ApiModelProperty(value = "标题", required = true)
    @NotNull(message = "标题不能为空")
    private String title;

    /**
     * navigation_context的id
     */
    @ApiModelProperty(value = "来源", required = true)
    @NotNull(message = "来源不能为空")
    private String comeFrom;

    /**
     * 是否主菜
     */
    @ApiModelProperty(value = "是否主菜")
    private Long isPrimary;

    /**
     * 排序
     */
    @ApiModelProperty(value = "排序")
    private Long sort;

    /**
     * 图标
     */
    @ApiModelProperty(value = "图标")
    private String icon;

    /**
     * 资讯类别(字典）
     */
    @ApiModelProperty(value = "资讯类别(字典）", required = true)
    @NotNull(message = "资讯类别不能为空")
    private Long informationCategory;

    /**
     * 略缩图
     */
    @ApiModelProperty(value = "略缩图")
    private String slightlyThumbnail;

    /**
     * 资讯栏目id
     */
    @ApiModelProperty(value = "资讯栏目id", required = true)
    @NotNull(message = "资讯栏目不能为空")
    private Long navigationContextId;

    /**
     * 是否推荐(0 否 1是)
     */
    @ApiModelProperty(value = "是否推荐(0否1是)")
    private Long isRecommend;

    /**
     * 是否轮播推荐
     */
    @ApiModelProperty(value = "是否轮播推荐")
    private Long isCarouselRecommend;

    /**
     * 是否置顶
     */
    @ApiModelProperty(value = "是否置顶")
    private Long isTop;

    /**
     * 所属高校ID
     */
    @ApiModelProperty(value = "所属高校ID")
    private Long schoolId;

    /**
     * 是否搜索推荐
     */
    @ApiModelProperty(value = "是否搜索推荐")
    private Long isSearchRecommend;

    /**
     * 标签ids（字典）
     */
    @ApiModelProperty(value = "标签ids（字典）")
    private String labels;

    /**
     * 状态（0正常 1停用）
     */
    @ApiModelProperty(value = "状态（0正常1停用）")
    private String status;

    /**
     * 内容
     */
    @ApiModelProperty(value = "内容")
    private String content;

}